import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js'

export const commentListService = (articleId)=>{
    return request.get('/comment/list',{params: {articleId: articleId}})
}
export const addCommentService = (data)=>{
    return request.post('/comment/add',data)
}